home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bnchutil.arc / CONTROL.DOC < prev    next >
Text File  |  1991-04-30  |  1KB  |  32 lines

  1.  
  2. CONTROL                                   Richard Kihlken
  3.  
  4. Purpose:  Reads decimal values from the command line, and sends them to your
  5.           printer.
  6.  
  7. Format:   [d:][path]CONTROL n [, n, n...]
  8.  
  9. Remarks:  Many users like to configure their printers automatically from within
  10.           batch files, or on the fly at the DOS prompt.  While its possible to
  11.           write lots of different COM files for each control code you want to
  12.           send, it's far easier to create one master print control program that
  13.           reads codes off the command line.
  14.  
  15.           CONTROL.COM reads any decimal arguments you enter, and sends them to
  16.           your printer.  You can use an legal delimiters between the numbers.
  17.  
  18. Example:  To send a CHR$(12) form-feed, you'd simply type:
  19.  
  20.              CONTROL 12
  21.  
  22.           Or, to send an IBM Esc+G command to turn on double strike printing,
  23.           type:
  24.  
  25.              CONTROL 27 71
  26.  
  27. Notes:    Users familiar with using DEBUG can modify the default border, text,
  28.           and header colors of ASC.COM.  These values, initially 0Fh, 1Fh, and
  29.           1Eh, respectively, are located at offsets 014D through 014F in the
  30.           .COM file.  For use with a composite monochrome display, the values
  31.           70h, 07h, and 07h are suggested.
  32.